<template>
<div>
  <h2 >{{ msg }}</h2>
  <h2 @click="showname">学生姓名：{{name}}</h2>
  <h2>学生性别：{{sex}}</h2>
  <h2>学生年龄：{{age+1}}</h2>


</div>
</template>

<script>
import {mixin} from "@/mixin";

export default {
  name: "Stu",
  data(){
    return {
      msg:'我是个学生',
      name:'Althan',
      sex:'男',
      age:15
    }
  },
  mixins:[mixin]
}
</script>

<style scoped>

</style>
